//
//  String.swift
//  maopu
//
//  Created by 黄海波 on 2017/4/26.
//  Copyright © 2017年 maopu. All rights reserved.
//

import UIKit

extension String {
    
    //MARK:去掉所有空格
    var removeAllSapce:String {
        return self.replacingOccurrences(of: " ", with: "", options: .literal, range: nil)
    }
    
    var removeAllSpace_r:String{
        return self.replacingOccurrences(of: "\r", with: "", options: .literal, range: nil)
    }
}
